//
//  DealerListTableCell.m
//  WDFans
//
//  Created by Zhihong Yuan on 2/13/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "DealerListTableCell.h"

@implementation DealerListTableCell

@synthesize dealerNameLabel,dealerPhoneLabel;
@synthesize delegate;

- (void)dealloc
{
    [dealerNameLabel release];
    [dealerPhoneLabel release];
    [super dealloc];
}


#pragma mark - my own methods
- (IBAction)callButtonClicked
{
    [delegate didCallingDealerNum:self];
}
- (IBAction)mapButtonClicked
{
    [delegate didShowingAddressInMapForDealer:self];
}

@end
